﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Company/Company.master" Inherits="WebManager.BasePage" %>
<%@ Import Namespace="TalentPools.Model" %>
<%@ Import Namespace="TalentPools.BLL" %>
<script runat="server">

    string session;
    protected void Page_Load(object sender, EventArgs e)
    {
        string qstr = QueryString("action");
        if (qstr == "LoginOut")
        {
            HttpCookie qyUser = new HttpCookie("qyUser");
            qyUser.Expires = DateTime.Now.AddMinutes(-30);
            Response.Cookies.Add(qyUser);
            JsWindows("已经安全退出", "../Index.aspx");
        }
        if (!IsQyLogin())
        {
            JsWindows("请登录", "../Index.aspx");
        }
        else
        {
            session = Request.Cookies["qyUser"].Values["name"];
            CompanyClass.CheckBaseMeanCount(session);//判断是否已经填写了基本信息
        }
    }
</script>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>

